package com.kili.cloud.common.util;


import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;

import javax.servlet.Filter;

/**
 * 应用配置
 *
 * @author Jar
 */
@Configuration
public class ApplicationConfig {

    @Bean
    @Profile({"local","dev"})
    public Filter crossFilter() {
        return new CrossFilter();
    }

}

